package entry;

public class User {
    private String name;
    private Integer enterpriseid;
    private String phone;
    private String account;
    private String password;
    private String idcardname;
    private String idcardno;

    public User() {
    }

    public User(String name, Integer enterpriseid, String phone, String account, String password, String idcardname, String idcardno) {
        this.name = name;
        this.enterpriseid = enterpriseid;
        this.phone = phone;
        this.account = account;
        this.password = password;
        this.idcardname = idcardname;
        this.idcardno = idcardno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getEnterpriseid() {
        return enterpriseid;
    }

    public void setEnterpriseid(Integer enterpriseid) {
        this.enterpriseid = enterpriseid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdcardname() {
        return idcardname;
    }

    public void setIdcardname(String idcardname) {
        this.idcardname = idcardname;
    }

    public String getIdcardno() {
        return idcardno;
    }

    public void setIdcardno(String idcardno) {
        this.idcardno = idcardno;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", enterpriseid=" + enterpriseid +
                ", phone='" + phone + '\'' +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", idcardname='" + idcardname + '\'' +
                ", idcardno='" + idcardno + '\'' +
                '}';
    }
}
